/*
 *  Copyright (C) 2009  Peter Kist & Jan Ripke
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef __mediator_request_h
#define __mediator_request_h 1

#include <mediator/Interface.h>

namespace galaxy {
    namespace mediator {

        /**
        * Contains Request data that must be transported from consumer to producer.
        * This class is identified by a module identifier that specifies for which producer the Request is meant.
        */
        class Request : public Identifier
        {
        public:
            Request() { };
            Request(Request& src) : Identifier (src) { };
            /** constructor. Constructs an Request for the specified category, type and subtype */
            Request(Category category, int type, int subtype) : Identifier (category, type, subtype) { };
            virtual ~Request() { };
        };

        /** Is populated with any results that a producer wants to return via the \b handleRequest method */
        class RequestResult {
        public:
            RequestResult () { };
            virtual ~RequestResult () { };
        };

    } // namespace mediator
} // namespace galaxy

#endif // __mediator_request_h
